/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author chris
 */
import javax.swing.*;
public class Item {
private ImageIcon icon;
private String name;

public Item(ImageIcon myIcon, String myName){
    icon = myIcon;
    name = myName;
}
public void setIcon(ImageIcon newIcon){icon = newIcon;}
public ImageIcon getIcon(){return icon;}

public void setName(String newName){name = newName;}
public String getName(){return name;}

}
